﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="AricentTestProject.Registration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <asp:Label ID="ErrLabel" runat="server" ForeColor="Red" Text=""></asp:Label>
    <div class="input-line">
        <label>
            Login (e-mail):                        
            </label>                       
        <asp:TextBox ID="Login" class="text" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator Width="5px" ID="RequiredLogin" runat="server" ErrorMessage="Please enter your Login"
            ControlToValidate="Login">*</asp:RequiredFieldValidator>  
        <asp:RegularExpressionValidator Width="5px" ID="RegularExpressionEmail" runat="server"
            ControlToValidate="Login" ValidationExpression=".*@.*\..*">*</asp:RegularExpressionValidator>                                               
    </div>
    <div class="input-line">
        <label>
            Password:</label>
        <asp:TextBox ID="Password" TextMode="Password" class="text" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredPassword" runat="server" ErrorMessage="Please enter your Password"
            ControlToValidate="Password">*</asp:RequiredFieldValidator>
    </div>
    <div class="input-line">
        <label>
            Confirm Password:</label>
        <asp:TextBox ID="Password2" TextMode="Password" class="text" runat="server"></asp:TextBox>
        <asp:CompareValidator ID="ComparePassword" runat="server" ErrorMessage="Please enter Confirm Password"
            ControlToCompare="Password" ControlToValidate="Password2">*</asp:CompareValidator>
    </div>
    <div class="input-line">
        <label>
            First Name:</label>
        <asp:TextBox ID="FirstName" class="text" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFirstName" runat="server" ErrorMessage="Please enter your Name"
            ControlToValidate="FirstName">*</asp:RequiredFieldValidator>
    </div>
    <div class="input-line">
        <label>
            Last Name:</label>
        <asp:TextBox ID="LastName" class="text" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredLastName" runat="server" ErrorMessage="Please enter your Last Name"
            ControlToValidate="LastName">*</asp:RequiredFieldValidator>
    </div>
    <asp:Button ID="Register" runat="server" OnClick="onRegister" Text="Button" />
</asp:Content>
